package com.maxh.mapper;

import com.maxh.pojo.Course;

import java.util.List;
import java.util.Map;

public interface CourseMapper {
    //获取课程信息
    List<Map<String,Object>> courseList();

    Boolean addCourseList(Course course);

    List<Map<String, Object>> findCourse(Map<String, Object> map);

    Boolean deleteContent(String id);

    Boolean updateContent(Course course);

    Boolean updateContentStatus(Course course);
    //获取所有上架课程信息
    List<Map<String,Object>> findCurriculumList();

    List<Map<String, Object>> findCurriculum(Map<String, Object> map);

    List<Map<String,Object>> findTeacherCourse(String teacherId);

    List<Map<String, Object>> findCourseByTime();
}
